package com.example.mapper;

import com.example.pojo.TeacherCalling;
import com.example.pojo.TeachingCallingDetail;
import com.example.pojo.TeachingClass;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/*
点名管理dao层
 */
@Mapper
public interface CallingMapper {

    //创建点名任务
    void createCalling(TeacherCalling teacherCalling);

    //编辑点名任务
    void updateCalling(TeacherCalling teacherCalling);

    //查询点名任务
    @Select("select * from t_teaching_calling where id = #{id}")
    TeacherCalling queryById(Integer id);

    //签到细节
    void addCallingDetail(TeachingCallingDetail teachingCallingDetail);


}
